package fun.chutianshu.eescore_full.entity;

import java.io.Serializable;
import java.util.Set;

/**
 * 课程(Course)实体类
 *
 * @author makejava
 * @since 2021-04-28 17:15:04
 */
public class Course implements Serializable {
    private static final long serialVersionUID = 766644810513214274L;

    private Teacher teacher;
    private Set<Exam> exams;
    private Set<Homework> homeworks;
    private Set<RoolBook> roolBooks;
    private Set<StudentCourse> studentCourses;

    public Set<StudentCourse> getStudentCourses() {
        return studentCourses;
    }

    public void setStudentCourses(Set<StudentCourse> studentCourses) {
        this.studentCourses = studentCourses;
    }

    public Teacher getTeacher() {
        return teacher;
    }

    public void setTeacher(Teacher teacher) {
        this.teacher = teacher;
    }

    public Set<Exam> getExams() {
        return exams;
    }

    public void setExams(Set<Exam> exams) {
        this.exams = exams;
    }

    public Set<Homework> getHomeworks() {
        return homeworks;
    }

    public void setHomeworks(Set<Homework> homeworks) {
        this.homeworks = homeworks;
    }

    public Set<RoolBook> getRoolBooks() {
        return roolBooks;
    }

    public void setRoolBooks(Set<RoolBook> roolBooks) {
        this.roolBooks = roolBooks;
    }

    /**
    * 主键
    */
    private Integer courseId;
    /**
    * 课时
    */
    private Integer period;
    /**
    * 学分
    */
    private Integer credit;
    /**
    * 课程名称

    */
    private String courseName;
    /**
    * 上课时间
    */
    private String courseTime;
    /**
    * 课程所属教师id
    */
    private Integer teaId;
    /**
    * 是否生效中
    */
    private Boolean isactive;


    public Integer getCourseId() {
        return courseId;
    }

    public void setCourseId(Integer courseId) {
        this.courseId = courseId;
    }

    public Integer getPeriod() {
        return period;
    }

    public void setPeriod(Integer period) {
        this.period = period;
    }

    public Integer getCredit() {
        return credit;
    }

    public void setCredit(Integer credit) {
        this.credit = credit;
    }

    public String getCourseName() {
        return courseName;
    }

    public void setCourseName(String courseName) {
        this.courseName = courseName;
    }

    public String getCourseTime() {
        return courseTime;
    }

    public void setCourseTime(String courseTime) {
        this.courseTime = courseTime;
    }

    public Integer getTeaId() {
        return teaId;
    }

    public void setTeaId(Integer teaId) {
        this.teaId = teaId;
    }

    public Boolean getIsactive() {
        return isactive;
    }

    public void setIsactive(Boolean isactive) {
        this.isactive = isactive;
    }

}